Skip to content

Conversation

ultimatile
Copy link
Contributor

introspection/counterの翻訳です。
locationの翻訳は暫定的に「位置」にしてあります。

@ultimatile ultimatile added the translation Translation additions or improvements label Sep 22, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR translates the documentation for the counter introspection function from English to Japanese. The translation covers comprehensive documentation including function descriptions, usage examples, and parameter explanations.

  • Translates all documentation comments and function parameter descriptions from English to Japanese
  • Updates the translation status for /docs/reference/introspection/counter/ from "untranslated" to "translated"
  • Maintains all code examples and technical formatting while translating explanatory text

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
website/translation-status.json Updates translation status to mark counter documentation as translated
crates/typst-library/src/introspection/counter.rs Complete Japanese translation of counter function documentation and parameter descriptions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ultimatile ultimatile force-pushed the translate-introspection/counter branch from 3ab5d04 to 5ba871a Compare September 22, 2025 05:36
Copy link
Member

@kimushun1101 kimushun1101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

細かいコメントを入れました。採否はおまかせいたします。

Copy link
Member

@kimushun1101 kimushun1101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ご対応ありがとうございました。

/// useful kinds of selectors for this are [labels]($label) and
/// [locations]($location).
/// `selector`は文書中で厳密に1つだけの要素にマッチしなければなりません。
/// この目的で最も便利なセレクターは[ラベル]($label)と[位置]($location)です。
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// この目的で最も便利なセレクターは[ラベル]($label)と[位置]($location)です。
/// この目的で最も便利なセレクターは[ラベル]($label)と[ロケーション]($location)です。

@ultimatile
Copy link
Contributor Author

ultimatile commented Oct 5, 2025

今サジェストしている場所以外に21か所locationがありますが、両方とも一般の意味で使われているので変更はこれだけで良いかと思います。atはlocation型以外も受け取れるのでロケーションとするとおかしくなります。


/// Retrieves the value of the counter at the current location. Always
/// returns an array of integers, even if the counter has just one number.
/// 現在の位置でのカウンターの値を取得。
Copy link
Contributor Author

@ultimatile ultimatile Oct 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

counter.at(here())と等価なので常にロケーションでした。

Suggested change
/// 現在の位置でのカウンターの値を取得
/// 現在のロケーションでのカウンター値を取得

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
translation Translation additions or improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants